package com.google.code.expr.lang;

public enum EXPRConditonalType {
	IF(true,true),
	ELSEIF(true,true),
	ELSE(true,false),
	ENDIF(false,false);
	
	private boolean mRequiresExpression;
	private boolean mRequiresBlock;
	
	private EXPRConditonalType(boolean pRequiresBlock, boolean pRequiresExpression) {
		mRequiresBlock = pRequiresBlock;
		mRequiresExpression = pRequiresExpression;
	}

	public boolean isRequiredBlock() {
		return mRequiresBlock;
	}
	public boolean isRequiresExpression() {
		return mRequiresExpression;
	}
	
	
}
